package com.yczy365.petmall.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AlbumAddNewDTO {
    @ApiModelProperty(value = "相册名称",required = true,example = "波奇")
    @NotNull(message = "名称不能为空")
    private String name;
    @ApiModelProperty(value = "相册简介",required = true,example = "波奇狗粮")
    @NotNull(message = "简介不能为空")
    private String description;
    @ApiModelProperty(value = "相册排序",required = true,example = "99")
    @NotNull(message = "排序不能为空")
    private Integer sort;

}
